﻿using System;
using System . Collections . Generic;
using System . Linq;
using System . Text;
using System . Threading . Tasks;

namespace GameClassLibrary . Banks
{
	public abstract class BankProof:GameObject
	{
		public DateTime StartDate { get; set; }

		public DateTime EndDate { get; set; }

		public TimeSpan DueTime { get; set; }
    }

	/// <summary>
	/// 贷款凭据
	/// </summary>
	public class BorrowingBankProof : BankProof
	{

		public long MoneyBorrowed { get; set; }


		public double InterestRate { get; set; }


		public long MoneyToReturn { get; set; }

        public override void NextDay ( )
        {
            throw new NotImplementedException ( );
        }
    }

	/// <summary>
	/// 存款凭据
	/// </summary>
	public class SavingBankProof : BankProof
	{

		public long MoneySaved { get; set; }

		public double InterestRate { get; set; }

		public long MoneyToGet { get; set; }

        public override void NextDay ( )
        {
            throw new NotImplementedException ( );
        }
    }



}
